import request from '@/utils/request'

// 查询现金流类型列表
export function listHlsCashflowType(query) {
  return request({
    url: '/basic/hlsCashflowType/list',
    method: 'get',
    params: query
  })
}

// 查询现金流类型详细
export function getHlsCashflowType(cfType) {
  return request({
    url: '/basic/hlsCashflowType/' + cfType,
    method: 'get'
  })
}

// 新增现金流类型
export function addHlsCashflowType(data) {
  return request({
    url: '/basic/hlsCashflowType',
    method: 'post',
    data: data
  })
}

// 修改现金流类型
export function updateHlsCashflowType(data) {
  return request({
    url: '/basic/hlsCashflowType',
    method: 'put',
    data: data
  })
}

// 删除现金流类型
export function delHlsCashflowType(cfType) {
  return request({
    url: '/basic/hlsCashflowType/' + cfType,
    method: 'delete'
  })
}
